package co.yixiang.modules.shop.service.impl;

import co.yixiang.modules.shop.entity.YxStoreQuestionnaire;
import co.yixiang.modules.shop.mapper.YxStoreQuestionnaireMapper;
import co.yixiang.modules.shop.service.YxStoreQuestionnaireService;
import co.yixiang.modules.shop.web.param.YxStoreQuestionnaireQueryParam;
import co.yixiang.modules.shop.web.vo.YxStoreQuestionnaireQueryVo;
import co.yixiang.common.service.impl.BaseServiceImpl;
import co.yixiang.common.web.vo.Paging;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.beans.factory.annotation.Autowired;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.io.Serializable;
import java.util.List;


/**
 * <p>
 * 调查问卷表 服务实现类
 * </p>
 *
 * @author hisen
 * @since 2020-06-15
 */
@Slf4j
@Service
@Transactional(rollbackFor = Exception.class)
public class YxStoreQuestionnaireServiceImpl extends BaseServiceImpl<YxStoreQuestionnaireMapper, YxStoreQuestionnaire> implements YxStoreQuestionnaireService {

    @Autowired
    private YxStoreQuestionnaireMapper yxStoreQuestionnaireMapper;


    @Override
    public List<YxStoreQuestionnaire> questionnaireList() throws Exception{
        QueryWrapper<YxStoreQuestionnaire> wrapper= new QueryWrapper<>();
        return yxStoreQuestionnaireMapper.selectList(wrapper);
    }

}
